css: Drop a bit of unreachable code
authorMatthias Clasen <mclasen@redhat.com>
Thu, 4 Feb 2021 05:39:34 +0000 (00:39 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 4 Feb 2021 05:39:34 +0000 (00:39 -0500)
We never get here. The compiler says so.

Pointed out in https://www.viva64.com/en/b/0793/

gtk/gtkcssselector.c

index f04a6fe7c5b32e77e4fb5acb93ef1c301ca4615b..951fbd1060e7c2bcf825763cc412b4c9782602fc 100644 (file)
@@ -1073,11 +1073,8 @@ parse_n_plus_b (GtkCssParser *parser,
       *a = 0;
       return TRUE;
     }
-  
-  gtk_css_parser_error_syntax (parser, "Not a valid an+b type");
-  return FALSE;
 }
-                
+
 static gboolean
 parse_a_n_plus_b (GtkCssParser *parser,
                   int           seen_sign,